package com.ddpt.permission.dubbo;

import com.lh.center.permission.api.dubbo.ImageCodeService;
import com.lh.center.permission.util.ImageCodeUtil;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

@DubboService
public class DubboImageCodeService implements ImageCodeService {

    @Autowired
    private ImageCodeUtil imageCodeUtil;

    @Override
    public void verifyCode(String codeId, String code) {
        imageCodeUtil.verifyCode(codeId,code);
    }
}
